<!--- ==================================================
NAME:	get_orderbyserial.cfm
DESC:	File used to get order history by serial number.
=================================================== --->
<cfsetting enablecfoutputonly="yes">

<!--- default data --->
<cfparam name="arguments.customerid" type="any" default="">
<cfparam name="arguments.part_number">
<cfparam name="arguments.serial_number">

<!--- build xml statement --->
<cfscript>
xi_namespace='#trim(application.xi_namespace)#:ORDERS:GetOrderBySerialNumber';
xi_interface='GetOrderBySerialNo_OB';
xml = '<xtiinput>
	<inputheader>
		<actionset>
			<action>get_orderbyserial</action>
		</actionset>
	</inputheader>
	<inputdata>
		<system>#variables.system#</system>
		<customerid>#arguments.customerid#</customerid>
		<material_no>#arguments.part_number#</material_no>
		<serial_no>#ucase(arguments.serial_number)#</serial_no>	
	</inputdata>
</xtiinput>';
</cfscript>